Articles by Falko Timme
-
Serving CGI Scripts With Nginx On Ubuntu 12.04
Author: Falko Timme • Tags: ubuntu, web server, nginx • Comments: 1
Serving CGI Scripts With Nginx On Ubuntu 12.04 This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Ubuntu 12.04. While nginx itself does not serve CGI, there are several ways to work around this. I will outline three solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second and third solution are very similar - both use a CGI wrapper to serve CGI scripts.
-
Creating Simple Virtual Hosts With mod_mysql_vhost On Lighttpd (Ubuntu 12.04)
Author: Falko Timme • Tags: lighttpd, mysql, ubuntu, web server • Comments: 0
This guide explains how you can use mod_mysql_vhost to create simple virtual hosts on a lighttpd web server on Ubuntu 12.04. With mod_mysql_vhost, lighttpd can read the vhost configuration from a MySQL database. Currently, you can store the domain and the document root in the MySQL database which results in very simple virtual hosts. If you need more directives for your vhosts, you'd have to configure them in the global section of lighttpd.conf, which means they'd be valid for all vhosts. Therefore, mod_mysql_vhost is ideal if your vhosts differ only in the domain and document root.
-
Installing The PHP WebDAV Extension On Debian Squeeze
Author: Falko Timme • Tags: apache, debian, php, web server • Comments: 0
Installing The PHP WebDAV Extension On Debian Squeeze This article shows how you can install the PHP WebDAV extension for PHP5 on a Debian Squeeze system. The PHP WebDAV extension allows easy access to remote resources through the DAV protocol from PHP scripts.
-
-
Virtualization With KVM On A CentOS 6.3 Server
Author: Falko Timme • Tags: centos, kvm, virtualization • Comments: 5
Virtualization With KVM On A CentOS 6.3 Server This guide explains how you can install and use KVM for creating and running virtual machines on a CentOS 6.3 server. I will show how to create image-based virtual machines and also virtual machines that use a logical volume (LVM). KVM is short for Kernel-based Virtual Machine and makes use of hardware virtualization, i.e., you need a CPU that supports hardware virtualization, e.g. Intel VT or AMD-V.
-
Installing mod_geoip for Apache2 On Debian Squeeze
Author: Falko Timme • Tags: apache, debian, web server • Comments: 1
Installing mod_geoip for Apache2 On Debian Squeeze This guide explains how to set up mod_geoip with Apache2 on a Debian Squeeze system. mod_geoip looks up the IP address of the client end user. This allows you to redirect or block users based on their country. You can also use this technology for your OpenX (formerly known as OpenAds or phpAdsNew) ad server to allow geo targeting.
-
Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Fedora 17
Author: Falko Timme • Tags: fedora, lighttpd, php, web server • Comments: 0
Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Fedora 17 Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Fedora 17 server with PHP5 support (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. I use PHP-FPM in this tutorial instead of Lighttpd's spawn-fcgi.
-
nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)
Author: Falko Timme • Tags: debian, nginx, ubuntu, web server • Comments: 14
nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu) This tutorial explains how to use the GeoIP module with nginx to block visitors by country. This is made possible by the GeoIP database which maps users' IP addresses to countries. nginx must be compiled with the HttpGeoipModule to use the GeoIP database.
-
How To Set Up Apache2 With mod_fcgid And PHP5 On Ubuntu 12.04
Author: Falko Timme • Tags: apache, php, ubuntu, web server • Comments: 3
How To Set Up Apache2 With mod_fcgid And PHP5 On Ubuntu 12.04 This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on Ubuntu 12.04. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user.
-
Virtual Hosting With vsftpd And MySQL On Debian Squeeze
Author: Falko Timme • Tags: debian, ftp, mysql • Comments: 6
Vsftpd is one of the most secure and fastest FTP servers for Linux. Usually vsftpd is configured to work with system users. This document describes how to install a vsftpd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine.
-
Managing A Headless VirtualBox Installation With phpvirtualbox On nginx (Ubuntu 12.04)
Author: Falko Timme • Tags: virtualization, ubuntu, virtualbox, web server, nginx • Comments: 5
Managing A Headless VirtualBox Installation With phpvirtualbox On nginx (Ubuntu 12.04) phpvirtualbox is a web-based VirtualBox front-end written in PHP that allows you to access and control remote VirtualBox instances. It tries to resemble the VirtualBox GUI as much as possible to make work with it as easy as possible. It is a nice replacement for the VirtualBox GUI if you run VirtualBox in headless servers. This tutorial explains how to install phpvirtualbox with nginx on an Ubuntu 12.04 server to manage a locally installed, headless VirtualBox.